﻿<%@ Import Namespace="AFI.Speargun.Web.Core" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AFI.Speargun.Web.Models.AssetInventory>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    盘点信息 - 查看 -
    <%= ViewData["AssetEntry.Appellation"]%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        查看</h2>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="data-table">
        <caption>
            盘点信息</caption>
        <tr>
            <th scope="row">
                盘点人:
            </th>
            <td>
                <%= Html.Encode(Membership.GetUser(Model.CheckingUser, false)) %>
            </td>
        </tr>
        <tr>
            <th scope="row">
                盘点日期:
            </th>
            <td>
                <%= Html.Encode(String.Format("{0:d}", Model.CheckingDate)) %>
            </td>
        </tr>
        <tr>
            <th scope="row">
                数量:
            </th>
            <td>
                <%= Html.Encode(String.Format("{0:F}", Model.Quantity)) %>
            </td>
        </tr>
        <tr>
            <th scope="row">
                使用人:
            </th>
            <td>
                <%= Html.Encode(Model.ActualUsePerson) %>
            </td>
        </tr>
        <tr>
            <th scope="row">
                使用日期:
            </th>
            <td>
                <%= Html.Encode(String.Format("{0:d}", Model.ActualUseDate)) %>
            </td>
        </tr>
        <tr>
            <th scope="row">
                责任人:
            </th>
            <td>
                <%= Html.Encode(Model.ResponsiblePerson) %>
            </td>
        </tr>
        <tr>
            <th scope="row">
                资产状态:
            </th>
            <td>
                <%= Html.Encode(((AssetStatus)Model.AssetStatus).GetTextValue())%>
            </td>
        </tr>
        <tr>
            <th scope="row">
                盘点结果:
            </th>
            <td>
                <%= Html.Encode(((CheckingResult)Model.Result).GetTextValue())%>
            </td>
        </tr>
        <tr>
            <th scope="row">
                盘点说明:
            </th>
            <td>
                <%= Html.Encode(Model.Description) %>
            </td>
        </tr>
    </table>
    <p>
        <%=Html.ActionLink("[编辑]", "Edit", new { id=Model.AssetInventoryId }) %>
        <br />
        <%=Html.ActionLink("[返回到列表]", "Index", new { id=Model.AssetEntry.AssetEntryId })%>
    </p>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftContent" runat="server">
</asp:Content>
